Yay_Currency\Helpers\YayCurrencyHelper D

Total Complexity 187
Dependencies 1
Dependents 69
Total lines 679
Lines of code 548
Logical lines of code 316
Comment lines 10
Methods 51
Properties 2

Methods 51

Method Rating Maintainability Complexity Lines of code
get_currency_change_switcher()
A
50 11 27
detect_reload_with_ajax()
A
54 10 20
list_ajax_actions_allow()
S
51 7 27
format_currency_code_position()
S
54 7 23
get_apply_currency_meta_data()
S
53 6 20
get_rate_fee_from_currency_not_exists_in_list()
S
56 6 17
get_formatted_total_by_convert_currency()
S
56 6 16
format_sale_price()
S
61 6 11
round_price_by_currency()
S
54 5 21
format_currency_position()
S
58 5 18
detect_allow_hide_dropdown_currencies()
S
64 6 9
disable_fallback_option_in_checkout_page()
S
66 6 7
get_default_apply_currency()
S
58 5 15
converted_currency()
S
58 5 15
set_cookies()
S
59 5 14
get_id_selected_currency()
S
62 5 10
get_order_currency_by_order_id()
S
63 5 10
get_currency_by_currency_code()
S
63 5 10
checkout_in_fallback_currency()
S
63 5 10
is_dis_checkout_diff_currency()
S
62 4 12
get_currency_by_ID()
S
64 4 9
get_currency_code_by_order()
S
64 4 9
filter_payment_methods_by_currency()
S
59 3 15
calculate_price_by_currency()
S
63 3 11
get_symbol_by_currency_code()
S
62 3 11
calculate_price_by_currency_html()
S
56 2 17
is_current_fallback_currency()
S
70 3 6
get_symbol_by_currency()
S
66 3 8
get_apply_currency()
S
63 3 10
reverse_calculate_price_by_currency()
S
71 3 5
get_apply_currency_format_info()
S
60 2 13
format_price()
S
64 2 11
format_currency_symbol()
S
71 2 5
get_current_and_fallback_currency()
S
70 2 6
get_total_by_order()
S
65 2 9
get_rate_fee_by_order()
S
64 2 10
format_price_currency()
S
67 2 7
is_wc_json_products()
S
78 2 3
enable_rounding_currency()
S
78 2 3
get_rate_fee()
S
65 2 8
get_cookie_name()
S
72 2 6
get_current_currency()
S
74 2 4
detect_current_currency()
S
72 2 5
get_default_apply_currency_not_exists_post_type()
S
67 2 8
delete_cookie()
S
69 2 6
get_woocommerce_product_price_hooks()
S
61 1 14
converted_approximately_html()
S
74 1 4
calculate_custom_price_by_currency_html()
S
71 1 5
list_wc_ajax_actions_allow()
S
75 1 4
set_cookie()
S
77 1 3
__construct()
S
98 1 1